﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _1_12 : System.Web.UI.Page
{

    static int f = 0;
    static int egg = 0;
    protected void Page_Load(object sender, EventArgs e)
    {
        Label1.Text = "";
        Label2.Text = "花花：" + f + "蛋蛋：" + egg + "";
    }

    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {

    }

    protected void ImageButton2_Click(object sender, ImageClickEventArgs e)
    {
        Label1.Text = "你点了蛋蛋";
        egg++;
        Label2.Text = "花花：" + f + "蛋蛋：" + egg + "";
    }

    protected void ImageMap2_Click(object sender, ImageMapEventArgs e)
    {
        Label1.Text = "你点了蛋蛋";
        egg++;
        Label2.Text = "花花：" + f + "蛋蛋：" + egg + "";
        Response.Write("6");
    }

    protected void ImageMap1_Click(object sender, ImageMapEventArgs e)
    {
        Label1.Text = "你点了花花";
        f++;
        Label2.Text = "花花：" + f + "蛋蛋：" + egg + "";
    }
}